package fields;

import translate.Translate;
import gstd.Field;
import gstd.Player;


public class Refuge extends Field{

	private int bonus;
	
	public Refuge(String name,int bonus ) {
		super(name);
		this.bonus = bonus;
	}

	@Override
	public void landOnField(Player player) {
		player.getInventory().addBalance(bonus);
	}

	public int getBonus() {
		return bonus;
	}
	
	@Override
	public String toString() {
		return Translate.print("Get %d in bouns", bonus);
	}
}	
	
